//
//  HomeCollectionViewFlowLayout.m
//  SHOP
//
//  Created by L on 2017/10/11.
//  Copyright © 2017年 L. All rights reserved.
//

#import "HomeCollectionViewFlowLayout.h"

@implementation HomeCollectionViewFlowLayout

- (void)prepareLayout
{
    [super prepareLayout];
    
    CGFloat with = self.collectionView.bounds.size.width / 4;
    CGFloat hight = self.collectionView.bounds.size.height / 2;
    self.itemSize = CGSizeMake(with, hight);
    
    self.minimumLineSpacing = 0;
    self.minimumInteritemSpacing = 0;
}

@end
